package com.cn.dream_order_server.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(name = "ACTIVITY-SERVER",url = "192.168.10.132:80")
public interface ActivityServer {

    @RequestMapping(value = "/getKilled",produces="application/json")
    String getKilled(@RequestParam(value = "killedId") Long killedId);
}
